#ifndef POISSONNODE_H
#define POISSONNODE_H

#include "Node.h"

class PoissonNode : public Node
{
public:
    PoissonNode(Node* rate, double sampleValue = 0.0, bool isObserved = false);

    PoissonNode(const PoissonNode& other);

    ~PoissonNode();

    double logLikelihood(double x);

private:
    Node* rate;
};

#endif // POISSONNODE_H
